package com.feel.mall.userservice.mapper;

import com.feel.mall.common.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: 刘永钦
 * @Description:
 */
@Mapper
public interface UserMapper {
    User selectByUsername(String username);

    List<User> selectByCondition(User condition);

    void addInfo(User user);

    User selectById(Integer id);

    void updateInfo(User user);
}
